package com.tian.mapper;

import com.tian.entity.ChargeActiveUser;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface ChargeActiveUserMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ChargeActiveUser record);

    ChargeActiveUser selectByPrimaryKey(Integer id);

    List<ChargeActiveUser> selectAll();
    List<ChargeActiveUser> selectActiveUser(@Param("activeDate") Date activeDate,@Param("start") Long start,@Param("pageSize") Integer pageSize);

    long countActiveUser(@Param("activeDate") Date activeDate);

    int updateByPrimaryKey(ChargeActiveUser record);
}